package com.open.capacity.prints.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;


@Data
public class YhExcelModel implements IExcelDataModel, IExcelModel {
    //行号
    private Integer rowNum;
    //错误消息
    private String errorMsg;

    @Excel(name = "网点名称*", width = 30)
    @NotBlank(message = "[网点名称]不能为空")
    private String khhName;
    @Excel(name = "网点电话*",width = 20)
    @NotBlank(message = "[网点电话]不能为空")
    private String khhTel;
    @Excel(name = "联行行号*",width = 30)
    @NotBlank(message = "[联行行号]不能为空")
    private String khhLhhh;
    @Excel(name = "银行名称*",width = 30)
    @NotBlank(message = "[银行名称]不能为空")
    private String zhName;
    @Excel(name = "银行代号*",width = 20)
    @NotBlank(message = "[银行代号]不能为空")
    private String zhYhdm;
    @Excel(name = "银行行号*",width = 30)
    @NotBlank(message = "[银行行号]不能为空")
    private String zhYhhh;
    @Excel(name = "网点地址",width = 40)
    private String address;


}
